pay court to somebody
(old-fashioned) to treat somebody with great respect in order to gain favour with them